.class Les/fu$c;
.super Les/fu$e;
.source "SearchAdvancedConditionDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/fu;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic h:Les/fu;


# direct methods
.method constructor <init>(Les/fu;Landroid/widget/TextView;II)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-direct {p0, p1, p2, p3, p4}, Les/fu$e;-><init>(Les/fu;Landroid/widget/TextView;II)V

    return-void
.end method


# virtual methods
.method a(Ljava/lang/String;)J
    .locals 4

    const-wide/16 v0, -0x1

    if-eqz p1, :cond_2

    .line 29
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x1

    if-ge v2, v3, :cond_0

    goto :goto_1

    :cond_0
    const-string v2, "KB"

    .line 30
    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    const/4 v3, 0x0

    if-lez v2, :cond_1

    .line 31
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->d(Ljava/lang/String;)J

    move-result-wide v0

    const-wide/16 v2, 0x400

    :goto_0
    mul-long v0, v0, v2

    goto :goto_1

    :cond_1
    const-string v2, "MB"

    .line 32
    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    if-lez v2, :cond_2

    .line 33
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->d(Ljava/lang/String;)J

    move-result-wide v0

    const-wide/32 v2, 0x100000

    goto :goto_0

    :cond_2
    :goto_1
    return-wide v0
.end method

.method a(ILjava/lang/Object;)V
    .locals 7

    .line 1
    invoke-virtual {p0}, Les/fu$e;->a()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    const/4 v2, 0x2

    if-ge p1, v0, :cond_5

    .line 2
    iput p1, p0, Les/fu$e;->c:I

    .line 3
    iget-object v0, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v0}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v0

    const-wide/16 v3, -0x1

    iput-wide v3, v0, Les/eu$g;->a:J

    .line 4
    iget-object v0, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v0}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v0

    iput-wide v3, v0, Les/eu$g;->b:J

    const-wide/32 v5, 0x19000

    if-ne p1, v1, :cond_0

    .line 5
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    const-wide/16 v0, 0x0

    iput-wide v0, p1, Les/eu$g;->a:J

    .line 6
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v5, p1, Les/eu$g;->b:J

    goto/16 :goto_0

    :cond_0
    const-wide/32 v0, 0x100000

    if-ne p1, v2, :cond_1

    .line 7
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v5, p1, Les/eu$g;->a:J

    .line 8
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v0, p1, Les/eu$g;->b:J

    goto :goto_0

    :cond_1
    const/4 v2, 0x3

    const-wide/32 v5, 0x1000000

    if-ne p1, v2, :cond_2

    .line 9
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v0, p1, Les/eu$g;->a:J

    .line 10
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v5, p1, Les/eu$g;->b:J

    goto :goto_0

    :cond_2
    const/4 v0, 0x4

    const-wide/32 v1, 0x8000000

    if-ne p1, v0, :cond_3

    .line 11
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v5, p1, Les/eu$g;->a:J

    .line 12
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v1, p1, Les/eu$g;->b:J

    goto :goto_0

    :cond_3
    const/4 v0, 0x5

    if-ne p1, v0, :cond_4

    .line 13
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v1, p1, Les/eu$g;->a:J

    .line 14
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    iput-wide v3, p1, Les/eu$g;->b:J

    goto :goto_0

    .line 15
    :cond_4
    check-cast p2, Ljava/lang/String;

    invoke-virtual {p0, p2}, Les/fu$c;->b(Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    new-array p1, v2, [Ljava/lang/String;

    const/4 p2, 0x0

    const-string v0, "KB"

    aput-object v0, p1, p2

    const-string p2, "MB"

    aput-object p2, p1, v1

    .line 16
    iget-object p2, p0, Les/fu$c;->h:Les/fu;

    .line 17
    invoke-static {p2}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f1109bb

    invoke-virtual {p2, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    const/16 v0, 0x80

    const/16 v1, 0x200

    .line 18
    invoke-virtual {p0, p1, p2, v0, v1}, Les/fu$e;->a([Ljava/lang/String;Ljava/lang/String;II)Lcom/estrongs/android/ui/dialog/q$n;

    move-result-object p1

    .line 19
    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    :goto_0
    return-void
.end method

.method protected a(ILjava/lang/String;ILjava/lang/String;)V
    .locals 6

    const-string v0, "KB"

    .line 20
    invoke-virtual {v0, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    const/high16 v2, 0x100000

    const-string v3, "MB"

    if-eqz v1, :cond_0

    .line 21
    iget-object v1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v1

    mul-int/lit16 v4, p1, 0x400

    int-to-long v4, v4

    iput-wide v4, v1, Les/eu$g;->a:J

    goto :goto_0

    .line 22
    :cond_0
    invoke-virtual {v3, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 23
    iget-object v1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v1

    mul-int v4, p1, v2

    int-to-long v4, v4

    iput-wide v4, v1, Les/eu$g;->a:J

    .line 24
    :cond_1
    :goto_0
    invoke-virtual {v0, p4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 25
    iget-object v0, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v0}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v0

    mul-int/lit16 v1, p3, 0x400

    int-to-long v1, v1

    iput-wide v1, v0, Les/eu$g;->b:J

    goto :goto_1

    .line 26
    :cond_2
    invoke-virtual {v3, p4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 27
    iget-object v0, p0, Les/fu$c;->h:Les/fu;

    invoke-static {v0}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object v0

    mul-int v2, v2, p3

    int-to-long v1, v2

    iput-wide v1, v0, Les/eu$g;->b:J

    .line 28
    :cond_3
    :goto_1
    invoke-super {p0, p1, p2, p3, p4}, Les/fu$e;->a(ILjava/lang/String;ILjava/lang/String;)V

    return-void
.end method

.method b(Ljava/lang/String;)V
    .locals 5

    const-string v0, " - "

    .line 1
    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    .line 2
    array-length v3, v1

    const/4 v4, 0x2

    if-ne v3, v4, :cond_0

    .line 3
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$c;->a(Ljava/lang/String;)J

    move-result-wide v2

    iput-wide v2, p1, Les/eu$g;->a:J

    .line 4
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    const/4 v0, 0x1

    aget-object v0, v1, v0

    invoke-virtual {p0, v0}, Les/fu$c;->a(Ljava/lang/String;)J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto :goto_0

    .line 5
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 6
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$c;->a(Ljava/lang/String;)J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Les/fu$c;->h:Les/fu;

    invoke-static {p1}, Les/fu;->b(Les/fu;)Les/eu$g;

    move-result-object p1

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$c;->a(Ljava/lang/String;)J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->a:J

    :goto_0
    return-void
.end method
